package com.solution.pc.order.dao;

import java.util.List;
import java.util.Map;

import com.solution.pc.order.entity.OrderAlipayNotifyLogEntity;
import com.solution.common.dao.BaseDao;
import com.solution.common.page.PageBean;
import com.solution.common.page.PageParam;

/**
 * 订单支付宝支付日志DAO接口
 * @author llp
 * @date 2017-10-19 09:36:39
 */
public interface OrderAlipayNotifyLogDao extends BaseDao<OrderAlipayNotifyLogEntity> {
	
	/**
	 * 保存订单支付宝支付日志
	 * @param orderAlipayNotifyLogEntity
	 * @return
	 * @author llp
	 * @date 2017-10-19 09:36:39
	 */
	public long saveOrderAlipayNotifyLog(OrderAlipayNotifyLogEntity orderAlipayNotifyLogEntity);

	/**
	 * 分页查询订单支付宝支付日志信息
	 * @param pageParam 分页对象
	 * @param orderAlipayNotifyLog 分页参数
	 * @return PageBean 分页参数及数据
	 * @author llp
	 * @date 2017-10-19 09:36:39
	 */
	public PageBean listOrderAlipayNotifyLogPage(PageParam pageParam, Map<String, Object> param);

	/**
	 * 更新订单支付宝支付日志
	 * @param orderAlipayNotifyLogEntity
	 * @return
	 * @author llp
	 * @date 2017-10-19 09:36:39
	 */
	public int updateOrderAlipayNotifyLog(OrderAlipayNotifyLogEntity orderAlipayNotifyLogEntity);


	/**
	 * 删除订单支付宝支付日志角色
	 * @param id
	 * @return
	 * @author llp
	 * @date 2017-10-19 09:36:39
	 */
	public int deleteOrderAlipayNotifyLogById(Long id);
	
	/**
	 * 根据订单支付宝支付日志类型获取订单支付宝支付日志
	 * @param param
	 * @return
	 * @author llp
	 * @date 2017-10-19 09:36:39
	 */
	public List<OrderAlipayNotifyLogEntity> listOrderAlipayNotifyLog( Map<String, Object> param);
}
